package com.laiketui.order.api.params.store;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laiketui.domain.vo.MainVo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Getter
@Setter
@ToString
public class StoreEditRealDeliveryTimeParams extends MainVo {
    @NotBlank
    private String orderParentNo;

    //登錄身份ID
    private String adminId;

    @NotNull
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date realDeliveryTime;
}
